-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect dynamic register keywords 4683 v3 #11035
Closed
catenacyber
wants to merge
7
commits into
OISF:master
from
catenacyber:detect-dynamic-register-keywords-4683-v3
Closed
Detect dynamic register keywords 4683 v3 #11035
catenacyber
wants to merge
7
commits into
OISF:master
from
catenacyber:detect-dynamic-register-keywords-4683-v3
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As this triggers rustc 1.78 unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX`
If the flow begins with a gap, do not try run probing parsers to recognize app-layer on it, as they have no data.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #11035 +/- ##
==========================================
- Coverage 80.63% 78.57% -2.06%
==========================================
Files 922 918 -4
Lines 250137 250336 +199
==========================================
- Hits 201699 196704 -4995
- Misses 48438 53632 +5194
Flags with carried forward coverage won't be shown. Click here to find out more. |
So that there is no need to remove the final binary, to recompile it if there has been changes in the code.
detect: make number of keywords dynamic Ticket: 4683
Ticket: 4863 On the way, convert unit test DetectSNMPCommunityTest to a SV test. And also, make snmp.pdu_type use a generic uint32 for detection, allowing operators, instead of just equality.
catenacyber
force-pushed
the
detect-dynamic-register-keywords-4683-v3
branch
from
May 7, 2024 12:51
cf0f30c
to
41da302
Compare
Information: QA ran without warnings. Pipeline 20529 |
Continued in #11036 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/4683
Describe changes:
>2
and suchSV_BRANCH=OISF/suricata-verify#1804
Continuation of #9871 after merge of #10819
After the merge of loggers, pure rust plugins will need pure rust keywords.
The plan is to do this for all rust app-layers, now only done for SNMP, which has both integers and buffers as keywords.
#10992 new version
Still draft to get clean CI for the last remaining red builder